package com.songcha.module_splash.api

import com.songcha.library_business.api.MyInterceptor
import com.songcha.library_business.config.NetworkConfig.Companion.BASE_URL
import com.songcha.library_network.api.RetrofitClient

object SplashApiManager {

    val api by lazy {
        return@lazy RetrofitClient.createApi(BASE_URL, SplashApiService::class.java){
            it.addInterceptor(MyInterceptor.getInstance())
        }
    }

    /*val timeoutApi by lazy {
        return@lazy RetrofitClient.createApiByTimeout(BASE_URL,
            SplashApiService::class.java,10,10,10){
            it.addInterceptor(MyInterceptor.getInstance())
        }
    }*/
}